#!/usr/bin/env python
#coding=utf-8

import aocbase
class Aoc(aocbase.AocBase):
    def param_check(self):
        "检查参数列表"
        # 对于非交互性途径传入的参数，检查是必要的
        if len(self.params) == 6:
            return True
        else:
            return False
    
    def aoc_parse(self):
        "将该AOC分解为DOC"
        # aocadd对应的操作只有一个
        self.params['u_id'] = self.user.name
        self.doclist.append(['add', self.params])
